package me.guowenlong.rxextension.api;

import android.text.TextUtils;
import android.util.Log;

import okhttp3.logging.HttpLoggingInterceptor;


/**
 * desc   : 日志实现类
 * author : guowenlong
 * Email  : guowenlong20000@gmail.com
 */
public class HttpLog implements HttpLoggingInterceptor.Logger {
    @Override
    public void log(String message) {
        if (!TextUtils.isEmpty(message)) {
            Log.e("HttpLoggingInterceptor", message);
        }
    }
}
